﻿namespace SimpleConnection_UDP_WIN.utils
{
    internal class StringUtil
    {

        public static string ReplaceText(string str, string oldValue, string newValue)
        {
            if (str == null) return string.Empty;
            if (oldValue == null) return str;
            return str.Replace(oldValue, newValue);
        }
    }
}
